﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="hcrainMvc.Wap.index" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta charset="utf-8" />
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>监控型信息化质量溯源系统</title>
    <link rel="stylesheet" type="text/css" href="css/hui.css" />
</head>
<body style="background: #FFFFFF;">
    <div class="hui-wrap">
        <img src="img/logo.jpg" width="100%" />
    </div>
    <script type="text/javascript">
        //创建窗口
        function createWin() {
            var view = hui.create('./demo/h5createwindow.html', {}, true, { name: 'hcoder', age: '3.0' });
            console.log(JSON.stringify(view));
            hui.toast('窗口创建成功 ^_^');
            //hui.create()函数返回创建的窗口对象，默认只是创建窗口并不展示【即为预加载】，使用show方法可以打开窗口
            //plus.webview.show(view);
        }
    </script>
    <form id="form1" runat="server">
        <div>
        </div>
    </form>
    <div class="hui-wrap">
        <div class="hui-common-title" style="margin-top: 15px;">
            <div class="hui-common-title-line"></div>
            <div class="hui-common-title-txt">你好： <%=this.EmpName %></div>
            <div class="hui-common-title-line"></div>
        </div>
        <div style="background: #FFF; margin: 10px;" class="hui-flex">
            <div style="height: 56px; margin: 10px;">
                <img src="./img/scrollNews.png" width="56" />
            </div>
            <div class="hui-scroll-news" id="scrollnew2" style="height: 56px;">
                <div class="hui-scroll-news-items"><a href="javascript:hui.toast('没有明细--');">追溯系统，移动端操作平台上线啦。</a></div>
                <div class="hui-scroll-news-items">目前只能处理几个简单的业务。</div>
                <div class="hui-scroll-news-items">如有问题，请返回PC端操作。</div>
            </div>
        </div>
    </div>
    <div class="hui-accordion">
        <div class="hui-accordion-title">功能菜单</div>
        <div class="hui-accordion-content hui-list">
            <a href="javascript:hui.open('./yw/jd_get.html');">
                <div class="hui-list-icons">
                    <img src="./img/index/base.png" /></div>
                <div class="hui-list-text">
                    采收入库<div class="hui-list-info hui-icons hui-icons-right"></div>
                </div>
            </a>
             <a href="javascript:hui.open('./demo/flex.html');">
        		<div class="hui-list-icons"><img src="./img/index/flex.png" /></div>
        		<div class="hui-list-text">
        			加工登录<div class="hui-list-info hui-icons hui-icons-right"></div>
        		</div>
        	</a>
        	
        </div>
    </div>

    <div class="hui-fooer-line"></div>
    <div id="hui-footer">
        <a href="javascript:hui.toast('首页');" id="nav-home">
            <div class="hui-footer-icons hui-icons-home"></div>
            <div class="hui-footer-text">首页</div>
        </a>
        <a href="javascript:hui.toast('功能没开放');" id="nav-news">
            <div class="hui-footer-icons hui-icons-news"></div>
            <div class="hui-footer-text">新闻</div>
        </a>
        <div style="width: 20%; text-align: center;" class="hui-fl">
            <img src="../Cloud_Rain_Sun_Alt_128px_1179849_easyicon.net.ico" height="44" onclick="javascript:hui.toast('功能没开放');" />
        </div>
        <a href="javascript:hui.toast('功能没开放');" id="nav-forum">
            <div class="hui-footer-icons hui-icons-forum"></div>
            <div class="hui-footer-text">社区</div>
        </a>
        <a href="javascript:hui.open('./demo/account.html')" id="nav-my">
            <div class="hui-footer-icons hui-icons-my"></div>
            <div class="hui-footer-text">我的</div>
        </a>
    </div>

    <script src="js/hui.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" src="js/hui-accordion.js"></script>
    <script type="text/javascript">
        hui.scrollNews(scrollnew2, 4000);
        hui.ready(function () {
            hui.accordion(true, true);
            hui('#nav-home').pointMsg();
            //hui('#nav-news').pointMsg('hot', null, null, null, '1px');
            //hui('#nav-forum').pointMsg(8);
        });
    </script>
</body>
</html>
